/**
 * 项目示例-表单验证规则
 * Date 2023-5-25 09:33:56
 */

import type { FormRules } from 'element-plus'
import { reactive } from 'vue'

export const rules = reactive<FormRules>({
  schemeName: [{
    required: true,
    message: '请输入排班方案',
    trigger: 'blur'
  }],
  classType: [{
    required: true,
    message: '请选择排班类型',
    trigger: 'change'
  }],
  schemeClasses: [{
    required: true,
    message: '请选择排班班次',
    trigger: 'blur'
  }],
  schemeModel: [{
    required: true,
    message: '请选择排班模式',
    trigger: 'change'
  }],
  schemeDate: [{
    required: true,
    message: '请选择排班周期',
    trigger: 'change'
  }]
})
